<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>数组筛选1</title>
		<script type="text/javascript">
			var arr = [1,2,3,6,8,12,13,15,16,10];
			var count = 0;
			var arrnew = [];
			for(var i = 0;i < arr.length; i++) {
				if(arr[i] >= 10) {
					arrnew[count] = arr[i];
					count++;
				}
			}
			console.log(arrnew)
		</script>
	</head>
	<body>
	</body>
</html>
